package Week02.c;

/**
 * 税务局类
 */
public class TaxBureau {
//税务局名字
    public String name;
    public TaxBureau(){

    }
    public TaxBureau(String name){
        this.name = name;
    }
//    通知商户缴纳税款方法
    public void tax(Merchants merchants){
        System.out.println(name + "通知" + merchants.name
                + "及时缴纳税款");
    }
    public static void main(String[] args){
        TaxBureau taxBureau = new TaxBureau("成都市税务局");
        Merchants merchants = new Merchants("解忧杂货铺");
        taxBureau.tax(merchants);
    }
}
